package com.example.myapp61.Util;

import android.content.Context;
import android.widget.Toast;

public class ToasUtil {
    private static Toast mToas;
    public static void showMes(Context context,String Mes){
        if (mToas==null){
            mToas = Toast.makeText(context,Mes,Toast.LENGTH_SHORT);
        }
        else{
            mToas.setText(Mes);
        }
        mToas.show();
    }
}
